<template>
  <div class="shiping-box">
    <div class="video-title">
      <div>
        <svg class="icon icon-shiping" aria-hidden="true">
          <use xlink:href="#icon-shipinzhongxin"></use>
        </svg>
        <span class="titleText">视频推荐</span>
      </div>
      <a href="/topic" class="moveVideo"> >>查看更多</a>
    </div>
    <video-item :VideoData="VideoData"></video-item>
  </div>
</template>

<script>
import VideoItem from './item.vue'
export default {
  name: 'List',

  data() {
    return {
      
    };
  },

  props: {
    // 所有视频资源
    VideoData:Array
  },

  components: {
    VideoItem
  }
};
</script>

<style scoped>
.shiping-box{
  flex: 1;
  padding: 10px 10px;
}
.video-title{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.video-title .titleText{
  height: 60px;
  line-height: 60px;
  font-size: 30px;
  vertical-align: top;
  color: rgb(38, 38, 211);
  font-weight: 600;
}
.icon-shiping{
  font-size: 60px;
  margin-right: 10px;
}
.moveVideo{
  font-size: 14px;
}
.moveVideo:hover{
  color: red;
}
</style>